home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 324 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  795 b 

  1. Path: kaa.hds.univ-compiegne.fr!capi
  2. From: capi@hds.univ-compiegne.fr ()
  3. Newsgroups: comp.std.c
  4. Subject: how pass argv to exec cde ?
  5. Date: 7 Feb 1996 23:35:52 GMT
  6. Organization: Universite de Technologie de Compiegne - France
  7. Message-ID: <4fbd0o$aj5@sunsic.si.univ-compiegne.fr>
  8. NNTP-Posting-Host: kaa.hds.univ-compiegne.fr
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. hello everybody
  12. i hope that i am in the right group !
  13.  
  14. i want do start the edit.com program via a C file
  15. the cde is c:\dos\edit.com
  16. and the argument is the name of a file, for exemple zoo.asm
  17.  
  18. i've try the exec..(path, argv) cde with
  19. path="c:\\dos\\edit.com" and
  20. argv[0]="zoo.asm"
  21. argv[1]=null
  22.  
  23. but when edit start i've got an error : incorrect file name (for edit)
  24. where is the error ?
  25. who could help me ?
  26. many thanks for your reply
  27.  
  28.